import request from '@/utils/request'

export default{
    createStatistics(day){
        return request({
            url: `/edustatistic/statistics/countRegisterCheck/${day}`,
            method: 'get'
        })
    },
    showChart(searchObj){
        return request({
            url: `/edustatistic/statistics/showChart/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get'
        })
    }
}